package com.tuananh.radnom.service.config;

import java.util.ArrayList;

import com.tuananh.radnom.model.NetInterface;
import com.tuananh.radnom.model.iputils.IPRange;

public interface INetIntService extends IConfigService {
	public boolean add(NetInterface netInt,String nodeName);
	public boolean update(NetInterface netInt);
	public boolean remove(String name);
	
	public ArrayList<NetInterface> getAll();
	public NetInterface getByName(String name);
	public NetInterface getByIp(String ip);
	public ArrayList<NetInterface> getInRange(IPRange range);
	public boolean merge(NetInterface first, NetInterface second);
}
